//2009/07/27 13:10:02
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

class BrickByBrick
{
public:
    int timeToClear(vector <string> map)
    {
    }
};
